<!DOCTYPE html>
<html id="docHTML">
<head>
    <link type="text/css" rel="stylesheet" href="https://solid.github.io/solid-panes/style/tabbedtab.css" />
    <script type="text/javascript" src="/common/js/mashlib.min.js"></script>
    <script>
      const $SOLID_GLOBAL_config = {}
      document.addEventListener('DOMContentLoaded', function () {
        const panes = require('mashlib')
        const UI = panes.UI

        // Set up cross-site proxy
        const $rdf = UI.rdf
        $rdf.Fetcher.crossSiteProxyTemplate = self.origin + '/xss/?uri={uri}'

        // Authenticate the user
        UI.authn.checkUser()
          .then(function () {
            // Set up the view for the current subject
            const kb = UI.store
            const uri = window.location.href
            const subject = kb.sym(uri)
            const outliner = panes.getOutliner(document)
            outliner.GotoSubject(subject, true, undefined, true, undefined)
          })
      })
    </script>
</head>
<body>
<div class="TabulatorOutline" id="DummyUUID">
    <table id="outline"></table>
</div>
</body>
</html>
